:local {
  .login {
    height: 100vh; /* 改为视口高度 */
    background-image: url(https://demo.topiam.cn/login-background.png);
    background-size: cover; /* 确保背景图片覆盖整个区域 */
    background-position: center;
    position: relative;
  }

  .loginCard {
    background-color: var(--white-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
    min-height: 600px;
    min-width: 350px; /* 固定宽度 */
    padding: var(--spacing-lg);
    border-radius: 6px;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.1);

    &.forgot {
      min-height: auto;
    }
  }

  .headerLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: xx-large;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: var(--font-weight-bold);

    .logo {
      width: 60px;
      height: 50px;
    }
  }

  .headerDesc {
    text-align: center;
    color: var(--gray-medium-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
  }

  .loginAuto {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .forgotTitle {
    margin: var(--spacing-md) 0;
  }

  .forgotBack {
    padding-left: 0;
    padding-right: 5px;
  }
}
